import { fetch } from '@/common/request'

// 获取任务信息
export const task = (param, options) => fetch({ url: '/task', param, options })

// 获取任务类别
export const tasktype = (param, options) => fetch({ url: '/task_type', param, options })

// 报名任务
export const joinTask = (param, options) => fetch({ url: '/task/join', param, options })

// 报名任务
export const submitTask = (param, options) => fetch({ url: '/task/submit', param, options })
